<template>
  <header>
    <router-view></router-view>

    <tab-bar v-if="!route.meta.isHideTabbar"></tab-bar>
    <!--loading页面  -->
    <loading></loading>

    <!-- <router-link to="/home">home</router-link>
    <router-link to="/order">order</router-link>
    <router-link to="/message">message</router-link>
    <router-link to="/favorite">favorite</router-link> -->
  </header>

  <main></main>
</template>

<script setup>
import tabBar from "@/components/Tab-bar/tabbar.vue";
import loading from "@/components/loading/loading.vue";
import { useRoute } from "vue-router";
const route = useRoute();
</script>

<style lang="less" scoped></style>
